package cn.zhou.student.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/404")
    public String pageNotFound() {
        return "404.html";
    }

    @RequestMapping("/500")
    public String serverError() {
        return "error/500";
    }

    @RequestMapping("/unauth")
    public String unAuth() {
        return "error/unauth";
    }

}
